package com.feonix.designPattern.AbstractFactory.sample2.tablefactory;

import com.feonix.designPattern.AbstractFactory.sample2.factory.Link;

public class TableLink extends Link {
	public TableLink(String caption, String url) {
		super(caption, url);
	}

	public String makeHTML() {
		return "<td><a href=\"" + url + "\">" + caption + "</a></td>\n";
	}
}
